package io.gitee.loulan_yxq.owner.mybatisPlus.enums;

/*********************************************************
 ** 分页查询使用枚举类型
 ** <br><br>
 ** Date: Created in 2021/12/3  11:08
 ** @author loulan
 ** @version 0.0.0
 *********************************************************/
public enum QueryPageEnum {
    PAGE_CURRENT("pageCurrent", "当前页"),
    PAGE_SIZE("pageSize","分页大小")
    ;

    private String code;
    private String name;

    QueryPageEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
